package com.heihei.mapper;

import com.heihei.beans.LoadDatas;
import com.heihei.domain.Websitesinfo;
import com.heihei.domain.WebsitesinfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WebsitesinfoMapper {
    int countByExample(WebsitesinfoExample example);

    int deleteByExample(WebsitesinfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Websitesinfo record);

    int insertSelective(Websitesinfo record);

    List<Websitesinfo> selectByExample(WebsitesinfoExample example);

    Websitesinfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Websitesinfo record, @Param("example") WebsitesinfoExample example);

    int updateByExample(@Param("record") Websitesinfo record, @Param("example") WebsitesinfoExample example);

    int updateByPrimaryKeySelective(Websitesinfo record);

    int updateByPrimaryKey(Websitesinfo record);

    //连接查询，所有信息，封装WebsitesInfo，内含User和SiteType信息
    List<Websitesinfo> findAllConditionally(LoadDatas datas);

}